<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <link type="text/css" rel="stylesheet" href="../common/bootstrap/bootstrap.min.css">
    <link type="text/css" rel="stylesheet" href="../common/bootstrap/table/css/bootstrap-table.min.css">

    <script type="text/javascript" src="../common/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="../common/bootstrap/bootstrap.min.js"></script>
    <script type="text/javascript" src="../common/bootstrap/table/js/bootstrap-table.min.js"></script>
    <script type="text/javascript" src="../common/bootstrap/table/js/bootstrap-table-zh-CN.min.js"></script>

    <style>
        #addDiv{
            padding: 0px 50px;
            margin: 150px auto;
            width: 1000px;
            height: 450px;
            border: 1px solid lightgray;
            text-align: center;
        }
    </style>
</head>
<body>
<div id="addDiv">
    <h2>商品新增</h2>
    <form id="addGoodsForm">
        <div class="row">
            <div class="col-md-12">
                <div class="form-group input-group">
                    <span class="input-group-addon">商品编码</span>
                    <input class="form-control" readonly="readonly" name="goodsId" id="goodsId">
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <div class="form-group input-group">
                    <span class="input-group-addon">商品名称</span>
                    <input class="form-control" placeholder="请输入商品名称" name="goodsName" id="goodsName">
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <div class="form-group input-group">
                    <span class="input-group-addon">货物数量</span>
                    <input class="form-control" placeholder="请输入货物数量" id="code" name="code">
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <div class="form-group input-group">
                    <span class="input-group-addon">商品类型</span>
                    <select class="form-control" id="type" name="type">
                        <option value="0">普通商品</option>
                        <option value="1">服务商品</option>
                    </select>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <div class="form-group input-group">
                    <span class="input-group-addon">商品单位</span>
                    <select class="form-control" id="unitId" name="unitId">
                    </select>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <div class="form-group input-group">
                    <span class="input-group-addon">价格</span>
                    <input class="form-control" placeholder="请输入售价" name="price" id="price">
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <div class="form-group input-group">
                    <span class="input-group-addon">商品类别</span>
                    <select class="form-control" id="categoryId" name="categoryId">
                    </select>
                </div>
            </div>
        </div>
        <div align="center">
            <button type="button" class="btn btn-default" onclick="goodsManage.addGoods()">提交</button>
            <button type="button" class="btn btn-danger" onclick="goodsManage.resetGoods()">重置</button>
        </div>
    </form>
</div>
</body>

<script type="text/javascript" src="../common/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="../common/bootstrap/bootstrap.min.js"></script>
<script type="text/javascript" src="../common/bootstrap/table/js/bootstrap-table.min.js"></script>
<script type="text/javascript" src="../common/bootstrap/table/js/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="../common/validate/bootstrapValidator.min.js"></script>
<script type="text/javascript" src="../common/toastr/toastr.min.js"></script>
<script type="text/javascript" src="../common/confirm/bootstrap.confirm.js"></script>
<script src="../goods/addGoods.js"></script>

</html>